projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77d429b
)
texthandle: Avoid double rendering of background/frame
author
Carlos Garnacho
<carlosg@gnome.org>
Wed, 17 Jun 2015 13:58:55 +0000
(15:58 +0200)
committer
Carlos Garnacho
<carlosg@gnome.org>
Wed, 17 Jun 2015 13:58:55 +0000
(15:58 +0200)
gtk_render_handle() already renders background/frame itself, avoid
doing this twice.
gtk/gtktexthandle.c
patch
|
blob
|
history
diff --git
a/gtk/gtktexthandle.c
b/gtk/gtktexthandle.c
index 47de7efe5fbdbaeb2437903f5abbcae0c47339ef..c89cf6339cb5f815ca619543bd5f25a1bff5498d 100644
(file)
--- a/
gtk/gtktexthandle.c
+++ b/
gtk/gtktexthandle.c
@@
-131,8
+131,6
@@
_gtk_text_handle_draw (GtkTextHandle *handle,
gtk_style_context_add_class (context,
GTK_STYLE_CLASS_TOP);
- gtk_render_background (context, cr, 0, 0, width, height);
- gtk_render_frame (context, cr, 0, 0, width, height);
gtk_render_handle (context, cr, 0, 0, width, height);
gtk_style_context_restore (context);